package com.softwinner.awbt.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by xiasj on 17-12-19.
 */
@Entity
public class CallLog {
    @Id(autoincrement = true)
    private Long id;
    private String phonename;
    @NotNull
    private String phonenumber;
    private Integer calltype;
    @NotNull
    private String address;
    @Generated(hash = 1844029970)
    public CallLog(Long id, String phonename, @NotNull String phonenumber,
            Integer calltype, @NotNull String address) {
        this.id = id;
        this.phonename = phonename;
        this.phonenumber = phonenumber;
        this.calltype = calltype;
        this.address = address;
    }
    @Generated(hash = 242590380)
    public CallLog() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getPhonename() {
        return this.phonename;
    }
    public void setPhonename(String phonename) {
        this.phonename = phonename;
    }
    public String getPhonenumber() {
        return this.phonenumber;
    }
    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }
    public Integer getCalltype() {
        return this.calltype;
    }
    public void setCalltype(Integer calltype) {
        this.calltype = calltype;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
}
